package com.skyolder.milkbee.mq;

import java.io.Serializable;

import com.skyolder.milkbee.dto.MyMessage;

public class Instant implements Serializable { 
	/**
	 * 
	 */
	private static final long serialVersionUID = -7349130721670749535L;
	private MyMessage myMessage;
	private String code;
	public Instant(){
		this.code=null;
		this.myMessage=null;
	}
	public Instant(String code, MyMessage myMessage){
		this.code=code;
		this.myMessage=myMessage;
	}
	public MyMessage getMyMessage() {
		return myMessage;
	}
	public void setMyMessage(MyMessage myMessage) {
		this.myMessage = myMessage;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}

}
